#!/bin/bash

ffenv()
{
    ffrun ffcheckenv "check our run environment"
}

ffcheckenv()
{
    ffisroot

    edition=$(cat /etc/issue | grep "Ubuntu 12.04")

    if [ -z "$edition" ]; then
        ffecho bad "Sorry,Your os's edition havn't supported by us!"
    fi

    if [ ! -d $fcbackup ]; then
        mkdir -p $fcbackup
    fi
}
